package app;

import javax.swing.ImageIcon;
import javax.swing.table.DefaultTableCellRenderer;

public class ImageRender extends DefaultTableCellRenderer {

	private static final long serialVersionUID = 1L;

	
	public void setValue(Object icon) {
		ImageIcon icono = (ImageIcon) icon;
		setIcon(icono);
		setToolTipText(icono.getDescription());
		setHorizontalAlignment(CENTER);
	}

}
